import store from "../../store";
export default vue => {
    vue.mixin({
        mounted() {
            if (this.$data.headerData) {
                store.dispatch("header_data", this.$data.headerData);
            }
        },
        methods: {
            goPage(url) {
                this.$router.push(url);
            }
        }
    });
};
